﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SocketSuperLib
{
    public class ClientFactory
    {  
        /// <summary>
        /// 获取消息传输对象
        /// </summary>
        /// <param name="ip">ip</param>
        /// <param name="port">port</param>
        /// <returns></returns>
        public static IClient createClient(string ip,int port)
        {
            return new SocketClient(ip,port);
        } 
    }
}
